//
//  LableButtonCell.m
//  geiTA
//
//  Created by 杨元龙 on 14-11-19.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "LableButtonCell.h"

@implementation LableButtonCell

- (void)dealloc
{
    [_dateButton release];
    [_nameLable release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self =[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.nameLable =[[UILabel alloc]initWithFrame:CGRectMake(10, 5, self.frame.size.width/4, self.frame.size.height-10)];
        [_nameLable setBackgroundColor:[UIColor yellowColor]];
        [self addSubview:_nameLable];
        
        self.dateButton = [[UIButton alloc]initWithFrame:CGRectMake(_nameLable.frame.origin.x +_nameLable.frame.size.width +40, 5, self.frame.size.width/2,  self.frame.size.height-10)];
        [_dateButton setBackgroundColor:[UIColor yellowColor]];
        [self addSubview:_dateButton];
        
        
    }
    return self;
    
    
}


@end
